package com.tj.bo.trade.client.request;

import com.fqgj.common.api.Page;
import com.tj.bo.trade.client.enums.TradeTypeEnum;

import java.io.Serializable;

/**
 * @program: binary-option
 * @description
 * @author: binary
 * @create: 2020-06-05 14:50
 **/
public class TradeByPageQueryRO implements Serializable {
    private static final long serialVersionUID = -6662307100803285484L;

    /**
     * 用户Code
     */
    private String userCode;
    /**
     * 交易类型
     * @see TradeTypeEnum
     */
    private Integer tradeType;
    /**
     * 分页
     */
    private Page page = new Page(15);

    public Page getPage() {
        return page;
    }

    public TradeByPageQueryRO setPage(Page page) {
        this.page = page;
        return this;
    }

    public String getUserCode() {
        return userCode;
    }

    public TradeByPageQueryRO setUserCode(String userCode) {
        this.userCode = userCode;
        return this;
    }

    public Integer getTradeType() {
        return tradeType;
    }

    public TradeByPageQueryRO setTradeType(Integer tradeType) {
        this.tradeType = tradeType;
        return this;
    }
}
